package com.weimall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GgLogBfExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GgLogBfExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBfTimeIsNull() {
            addCriterion("BF_TIME is null");
            return (Criteria) this;
        }

        public Criteria andBfTimeIsNotNull() {
            addCriterion("BF_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andBfTimeEqualTo(Date value) {
            addCriterion("BF_TIME =", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeNotEqualTo(Date value) {
            addCriterion("BF_TIME <>", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeGreaterThan(Date value) {
            addCriterion("BF_TIME >", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("BF_TIME >=", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeLessThan(Date value) {
            addCriterion("BF_TIME <", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeLessThanOrEqualTo(Date value) {
            addCriterion("BF_TIME <=", value, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeIn(List<Date> values) {
            addCriterion("BF_TIME in", values, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeNotIn(List<Date> values) {
            addCriterion("BF_TIME not in", values, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeBetween(Date value1, Date value2) {
            addCriterion("BF_TIME between", value1, value2, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfTimeNotBetween(Date value1, Date value2) {
            addCriterion("BF_TIME not between", value1, value2, "bfTime");
            return (Criteria) this;
        }

        public Criteria andBfFileIsNull() {
            addCriterion("BF_FILE is null");
            return (Criteria) this;
        }

        public Criteria andBfFileIsNotNull() {
            addCriterion("BF_FILE is not null");
            return (Criteria) this;
        }

        public Criteria andBfFileEqualTo(String value) {
            addCriterion("BF_FILE =", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileNotEqualTo(String value) {
            addCriterion("BF_FILE <>", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileGreaterThan(String value) {
            addCriterion("BF_FILE >", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileGreaterThanOrEqualTo(String value) {
            addCriterion("BF_FILE >=", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileLessThan(String value) {
            addCriterion("BF_FILE <", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileLessThanOrEqualTo(String value) {
            addCriterion("BF_FILE <=", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileLike(String value) {
            addCriterion("BF_FILE like", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileNotLike(String value) {
            addCriterion("BF_FILE not like", value, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileIn(List<String> values) {
            addCriterion("BF_FILE in", values, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileNotIn(List<String> values) {
            addCriterion("BF_FILE not in", values, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileBetween(String value1, String value2) {
            addCriterion("BF_FILE between", value1, value2, "bfFile");
            return (Criteria) this;
        }

        public Criteria andBfFileNotBetween(String value1, String value2) {
            addCriterion("BF_FILE not between", value1, value2, "bfFile");
            return (Criteria) this;
        }

        public Criteria andJqhIsNull() {
            addCriterion("JQH is null");
            return (Criteria) this;
        }

        public Criteria andJqhIsNotNull() {
            addCriterion("JQH is not null");
            return (Criteria) this;
        }

        public Criteria andJqhEqualTo(String value) {
            addCriterion("JQH =", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhNotEqualTo(String value) {
            addCriterion("JQH <>", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhGreaterThan(String value) {
            addCriterion("JQH >", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhGreaterThanOrEqualTo(String value) {
            addCriterion("JQH >=", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhLessThan(String value) {
            addCriterion("JQH <", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhLessThanOrEqualTo(String value) {
            addCriterion("JQH <=", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhLike(String value) {
            addCriterion("JQH like", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhNotLike(String value) {
            addCriterion("JQH not like", value, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhIn(List<String> values) {
            addCriterion("JQH in", values, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhNotIn(List<String> values) {
            addCriterion("JQH not in", values, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhBetween(String value1, String value2) {
            addCriterion("JQH between", value1, value2, "jqh");
            return (Criteria) this;
        }

        public Criteria andJqhNotBetween(String value1, String value2) {
            addCriterion("JQH not between", value1, value2, "jqh");
            return (Criteria) this;
        }

        public Criteria andCzyIsNull() {
            addCriterion("CZY is null");
            return (Criteria) this;
        }

        public Criteria andCzyIsNotNull() {
            addCriterion("CZY is not null");
            return (Criteria) this;
        }

        public Criteria andCzyEqualTo(String value) {
            addCriterion("CZY =", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyNotEqualTo(String value) {
            addCriterion("CZY <>", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyGreaterThan(String value) {
            addCriterion("CZY >", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyGreaterThanOrEqualTo(String value) {
            addCriterion("CZY >=", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyLessThan(String value) {
            addCriterion("CZY <", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyLessThanOrEqualTo(String value) {
            addCriterion("CZY <=", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyLike(String value) {
            addCriterion("CZY like", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyNotLike(String value) {
            addCriterion("CZY not like", value, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyIn(List<String> values) {
            addCriterion("CZY in", values, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyNotIn(List<String> values) {
            addCriterion("CZY not in", values, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyBetween(String value1, String value2) {
            addCriterion("CZY between", value1, value2, "czy");
            return (Criteria) this;
        }

        public Criteria andCzyNotBetween(String value1, String value2) {
            addCriterion("CZY not between", value1, value2, "czy");
            return (Criteria) this;
        }

        public Criteria andXzIsNull() {
            addCriterion("XZ is null");
            return (Criteria) this;
        }

        public Criteria andXzIsNotNull() {
            addCriterion("XZ is not null");
            return (Criteria) this;
        }

        public Criteria andXzEqualTo(String value) {
            addCriterion("XZ =", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotEqualTo(String value) {
            addCriterion("XZ <>", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzGreaterThan(String value) {
            addCriterion("XZ >", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzGreaterThanOrEqualTo(String value) {
            addCriterion("XZ >=", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLessThan(String value) {
            addCriterion("XZ <", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLessThanOrEqualTo(String value) {
            addCriterion("XZ <=", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzLike(String value) {
            addCriterion("XZ like", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotLike(String value) {
            addCriterion("XZ not like", value, "xz");
            return (Criteria) this;
        }

        public Criteria andXzIn(List<String> values) {
            addCriterion("XZ in", values, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotIn(List<String> values) {
            addCriterion("XZ not in", values, "xz");
            return (Criteria) this;
        }

        public Criteria andXzBetween(String value1, String value2) {
            addCriterion("XZ between", value1, value2, "xz");
            return (Criteria) this;
        }

        public Criteria andXzNotBetween(String value1, String value2) {
            addCriterion("XZ not between", value1, value2, "xz");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}